package intelligentrecommender.phases.htmlextractor;

import java.util.List;

public class SearchResults {

    private List<Result> results;

    public List<Result> getResults() {
        return results;
    }

    public void setResults(List<Result> results) {
        this.results = results;
    }

    public String toString() {
        return "Results[" + results + "]";
    }

    static class Result {

        private String title;
        private String url;

        public String getUrl() {
            return url;
        }

        public String getTitle() {
            return title;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String toString() {
            return "Result[title:" + title + ",url:" + url + "]";
        }
    }
}
